import request from '@/plugins/axios'

export default {
    //5.1.	进度管理分页查询
    progressFindPageInfo(params = {}) {
        return request.get('/progress/findPageInfo', { params })
    },
    //5.2.	设置系统出厂编号
    progressSetProgressNo(params = {}) {
        return request.post('/progress/setProgressNo',params)
    },
    //5.3.	进度管理系统进度分页查询
    progressSysinfoFindPageList(params = {}) {
        return request.get('/progressSysinfo/findPageList', { params })
    },
    //5.4.	进度管理系统列表进度保存
    progressSysinfoSave(params = {}) {
        return request.post('/progressSysinfo/save',  params)
    },
    //5.5.	系统列表设置是否重点关注
    progressSysinfoFocus(params = {}) {
        return request.post(`/progressSysinfo/focus?id=${params.id}`)
    },
    //5.6.	单机设备跟踪保存
    progressDeviceSave(params = {}) {
        return request.post('/progressDevice/save', params)
    },
    //5.7.	单机设备跟踪设置是否重点关注
    progressDeviceFocus(params = {}) {
        return request.post('/progressDevice/focus', {}, {params})
    },
    //5.8.	单机设备跟踪设置出厂编号
    progressDeviceSetDeviceNo(params = {}) {
        return request.post('/progressDevice/setDeviceNo', { params })
    },
    //5.9.	单机设备跟踪分页查询
    progressDeviceFindPageInfo(params = {}) {
        return request.post('/progressDevice/findPageInfo', params )
    },
    // 单机下拉数据
    deviceSelectList(params = {}) {
        return request.get('/progressDevice/selectList', {params} )
    },
    //5.10.	综合试验进度分页查询
    progressExperimentFindPageList(params = {}) {
        return request.get('/progressExperiment/findPageList', { params })
    },
     //5.10.	综合试验进度保存
     progressExperimentSave(params = {}) {
        return request.post('/progressExperiment/save',  params )
    },
    // 5.10 综合实验关注接口
    progressExperimentReadyFocus(params = {}) {
      return request.post(`/progressExperiment/focus?id=${params.id}`, params)
    },
   
    //5.11.	系统交付进度分页查询
    progressReadyFindPageList(params = {}) {
        return request.get('/progressReady/findPageList', { params })
    },
    //5.12.	系统交付进度设置是否重点关注
    progressReadyFocus(params = {}) {
        return request.post(`/progressReady/focus?id=${params.id}`, params)
    },
    //5.13.	系统交付进度保存
    progressReadySave(params = {}) {
        return request.post(`/progressReady/save`, params)
    },
    // 进度管理导入接口
    progressImportUrl: '/progressDevice/importExcel'
}